package com.tenement.service;

import com.mybatisflex.core.service.IService;
import com.tenement.common.Axios;
import com.tenement.dto.SelectDto;
import com.tenement.entity.Vote;
import com.tenement.vo.VoteVo;

import java.util.List;

/**
 *  服务层。
 *
 * @author BertXie
 * @since 1.0.1
 */
public interface VoteService extends IService<Vote> {

    List<SelectDto> infoCount(Long resolutionId);

    int removeByResolutionIds(List<Long> resolutionIds);

    boolean vote(VoteVo voteVo);
}
